package com.d3works.apps.csv.script;

import com.d3works.apps.project.db.ProjectTask;
import com.d3works.apps.project.db.repo.ProjectTaskRepository;
import com.d3works.inject.Beans;
import java.util.Map;

public class ProjectTaskScript {

  public Object computeFullname(Object bean, Map<String, Object> values) {
    ProjectTask task = ((ProjectTask) bean);
    Beans.get(ProjectTaskRepository.class).save(task);
    return task;
  }
}
